// ++++++++++++++++++++++++++++++++++++++++
// 《Go Web编程实战派从入门到精通》源码
// ++++++++++++++++++++++++++++++++++++++++
// Author:廖显东（ShirDon）
// Blog:https://www.shirdon.com/
// 仓库地址：https://gitee.com/shirdonl/goWebActualCombat
// 仓库地址：https://github.com/shirdonl/goWebActualCombat
// ++++++++++++++++++++++++++++++++++++++++
package main

import (
	"fmt"
	"gitee.com/shirdonl/goWebActualCombat/chapter1/person"
)

func main() {
	//type Student struct {
	//	name  string
	//	score float32
	//	Age   int
	//}
	s := new(person.Student)
	// name是小写字母开头，不能直接访问
	s.name = "shirdon"
	s.Age = 22
	fmt.Println(s.Age)
}
